import java.util.concurrent.atomic.AtomicInteger;

public class Demo2 {
    public static void main(String[] args) {
        AtomicInteger count = new AtomicInteger(0);

        count.addAndGet(10);//count += 10

        System.out.println(count.get());
    }
}
